package com.hwl.statistics.feign;

import com.hwl.commonutils.result.RespBean;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class UcenterMemberServiceFallBack implements UcenterMemberService {

    @Override
    public RespBean countRegisterNum(String day) {
        log.warn("熔断保护触发，调用service-ucenter根据日期统计注册人数失败！");
        return RespBean.ok().data(0);
    }
}
